home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / lib / partman / init.d / 35dump < prev    next >
Text File  |  2008-10-29  |  233b  |  13 lines

  1. #!/bin/sh -e
  2.  
  3. . /lib/partman/lib/base.sh
  4.  
  5. for dev in /var/lib/partman/devices/*; do
  6.     [ -d "$dev" ] || continue
  7.     cd $dev
  8.     open_dialog DUMP
  9.     close_dialog
  10.     cat /var/log/partition_dump >>/var/log/partman
  11.     rm /var/log/partition_dump
  12. done
  13.